﻿using System.Web.Mvc;

namespace Interface.Mvc.Areas.Scrm
{
    public class ScrmAreaRegistration : AreaRegistration
    {
        public override string AreaName
        {
            get
            {
                return "Scrm";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                name: "Scrm_default",
                url: "Scrm/{controller}/{action}",
                defaults: new { controller = "Home", action = "Index" },
                namespaces: new string[] { "Interface.Mvc.Areas.Scrm.Controllers" }
            );
        }
    }
}